package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IAlertRuleService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author baisong
 * @since 2025/10/28 14:10
 */
@Component
@Slf4j
public class AlertRuleJob {
    @Autowired
    private IAlertRuleService alertRuleService;
    public void alertRuleScan(){
        log.info("预警规则定时任务开始执行");
        alertRuleService.alertRuleScan();
        log.info("预警规则定时任务执行完成");
    }
}
